let mongoose = require('mongoose')

mongoose.connect('mongodb+srv://2167784433:dmYkxeArcbqG6Icz@cluster0.avhy8.mongodb.net/')
    .then(() => console.log('数据库连接成功'))
    .catch(err => console.log(err, '数据库连接失败'))

module.exports = mongoose